package com.lwei.ljpro.service;


import com.lwei.ljpro.entry.BaseEntry;

import java.util.List;

public interface IBaseService<T extends BaseEntry> {

    Long save(T t);

    T update(Long id, T t);

    T getEntryById(Long id);

    Boolean delete(Long id);

    List<T> listEntryAll(String key);
}
